/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 20:32:57
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 21:01:24
 * @别瞎看: 你个无脑牛马
 */
public class Test16{
    public static void main(String[] args) {
        A a=new B();
        a.show();
        System.out.println("A:"+a.x);
        System.out.println("B:"+((B)a).x);

    }
}